
import service from "../utils/service";


// 添加管理员

export const addAdminApi = (data) => {
    return service({
        url: "/admins",
        method: "post",
        data
    });
}

// 登录
export const loginCheckApi = (params) => {
    return service({
        url: "/admins",
        params
    });
}